#pragma once 

#include "rocksdb/comparator.h"

namespace helper {
namespace rocksdb {

class NumberComparator : public ::rocksdb::Comparator {
public:
    int Compare(const ::rocksdb::Slice& a, const ::rocksdb::Slice& b) const override ;
    const char* Name() const override ;

    void FindShortestSeparator(std::string* start, const ::rocksdb::Slice& limit) const override ;
    void FindShortSuccessor(std::string* key) const override ;
};

}//end namespace rocksdb
}//end namespace helper
